package unimelb.distSystems.project2;

/*
 * Lim Ching Lih, 308721
 * Yu Xia, 351025
 * Carlos Vasconcelos, 193554
 */

import java.io.Serializable;

/*
 * Car class is an entity type for racing session 
 */
public class Car implements Serializable{
	private long car_id;
	private String filename;
	private long player_id;
	
	/*
	 * Constructor
	 */
	public Car(long car_id,long player_id,String filename)
	{
		this.car_id=car_id;
		this.player_id=player_id;
		this.filename=filename;
	}
	
	/*
	 * Get unqiue ID of car
	 * Input: Nothing
	 * Output: long value of car ID
	 */
	public long getCarID()
	{
		return car_id;
	}
	
	/*
	 * Get unqiue ID of car driver
	 * Input: Nothing
	 * Output: long value of car driver ID
	 */
	public long getDriverPlayerID()
	{
		return player_id;
	}
	
	/*
	 * Get name of car model for 3D engine
	 * Input: Nothing
	 * Output: String filename of car model
	 */
	public String getFilename()
	{
		return filename;
	}
}
